package com.xbongbong.pro.statistic.result.pojo.dto;

import com.xbongbong.saas.domain.entity.ContractProductEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 合同产品用到的一些集合
 *
 * @author 徐俊杰
 * @version v1.0
 * @date 2019/3/8 16:26
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class ContractProductChartDTO implements Serializable {
    private static final long serialVersionUID = -8676642044497017567L;
    /**
     * 合同IdSet
     */
    private Set<Long> contractIdSet;
    /**
     * 合同产品List
     */
    private List<ContractProductEntity> contractProductList;
    /**
     * 合同相关产品IdList
     */
    private Set<Long> productIdSet;
    /**
     * 产品idList（用到排序）
     */
    private List<Long> productIdList;
    /**
     * 产品id-产品数量map
     */
    private Map<Long, Double> productIdNumMap;
    /**
     * 产品id-产品总售价map
     */
    private Map<Long, Double> productIdSumPriceMap;
    /**
     * 产品id-产品总成本map
     */
    private Map<Long, Double> productIdSumCostMap;
}
